﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SWEN3WebService.Models
{
    public class BookingRepository : IBookingRepository
    {
        public BookingRepository()
        {
        }

        public int AddBooking(BookingList item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }
            return BookingDBManager.CheckIn(item);
        }
    }
}